import user from './user'
import news from './news'
import knowleges from './knowleges'
import businesses from './businesses'
import transaction from './transaction'
import order from './order'
import schedule from './schedule'
import about from './about'
import officer from './officer'

import VueRouter from 'vue-router'
const router = new VueRouter({
    routes :[
        {
            path: '/',
            redirect: {name:'news',query:{type:5}}
        },
        ...user,
        ...news,
        ...knowleges,
        ...businesses,
        ...transaction,
        ...order,
        ...schedule,
        ...about,
        ...officer
    ]
})
export default router
